package com.yb.xczx.cloud.oauth2.client.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;
import java.util.Map;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/24 17:56
 * FileName: XczxOauth2ClientProperties
 * Description:
 */

@Data
@ConfigurationProperties("xczx.oauth2.client")
public class XczxOauth2ClientProperties {


    private Client auth;


    @Data
    public static  class Client{
        private String serverUrl;
        private String clientId;
        private String clientSecret;
        private String redirectUri;
        private String scope;
        private List<String> grantType;
    }
}
